package com.example.dsplatform.pojo.Entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName(value = "Role")
public class Role {
    @TableId(value = "RIDs", type = IdType.AUTO)
    private String rid;
    @TableField(value = "RNAME")
    private String rname;
    @TableField(value = "ROLE_KEY")
    private String role_key;
    @TableField(value = "STATUS")
    private String status;
}
